package cevent.source.cloudcenter.server.config;/**
 * Created by Cevent on 2021/4/5.
 */

import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author cevent
 * @description 事务处理，这里的配置类注解@EnableTransactionManagement，也可以加在app类开头
 * configuration：标识当前类为配置类
 * enableTransactionManagement：开启事务管理,springBoot默认开启了事务，这里可以不用配置transactionManagement
 * @date 2021/4/5 20:08
 */
@EnableTransactionManagement
@Configuration
public class TransactionManagementConfig {
}
